package com.ruoyi.datascreen.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 自定义数据集业务对象 ds_custom_data
 *
 * @author ruoyi
 * @date 2023-11-28
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class DsCustomDataBo extends BaseEntity {

    /**
     * 编号
     */
    @NotNull(message = "编号不能为空", groups = { EditGroup.class })
    private Long customId;

    /**
     * 数据名称
     */
    @NotBlank(message = "数据名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String customName;

    /**
     * 类型集合
     */
    @NotBlank(message = "类型集合不能为空", groups = { AddGroup.class, EditGroup.class })
    private String typeList;

    /**
     * 数据集合
     */
    @NotBlank(message = "数据集合不能为空", groups = { AddGroup.class, EditGroup.class })
    private String dataList;

    /**
     * 状态（0正常 1停用）
     */
    private String status;

    /**
     * 备注
     */
    private String remark;


}
